package Application;

import javafx.application.Application;
import javafx.fxml.FXMLLoader;
import javafx.scene.Parent;
import javafx.scene.Scene;
import javafx.stage.Stage;

public class Main extends Application {
    @Override
    public void start(Stage primaryStage){
        try {
            Parent parent = FXMLLoader.load(getClass().getResource("../resources/Login.fxml"));
            //Parent root = FXMLLoader.load(getClass().getClassLoader().getResource("resources/Login.fxml"));
            Scene scene = new Scene(parent,300,400);
            //scene.getStylesheets().add(getClass().getResource("application.css").toExternalForm());
            primaryStage.setScene(scene);
            primaryStage.show();
        } catch(Exception e) {
            e.printStackTrace();
        }
    }

    public static void main(String[] args) {
        //System.out.println("Hello!");
        launch(args);
    }
}
